package com.voute.Api;

import com.voute.Model.Bean.CreateFeedResposneBean;
import com.voute.Model.Bean.RecommendCirclesBean;

import java.util.HashMap;

import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Created by liucxu on 2017/4/27.
 */

public interface CreateFeedService {
    @GET("v1/users/self/cac")
    Observable<RecommendCirclesBean> queryRecommandCircles(@Query("q") String q);

    @FormUrlEncoded
    @POST("v1/feeds")
    Observable<CreateFeedResposneBean> CreateFeed(@FieldMap HashMap<String, String> params);
}
